home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19941031-19941221
/
000342_news@columbia.edu_Sun Dec 4 00:24:09 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1995-07-31
|
3KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA25740
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Sun, 4 Dec 1994 04:27:38 -0500
Received: by apakabar.cc.columbia.edu id AA16251
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Sun, 4 Dec 1994 04:27:36 -0500
Newsgroups: comp.protocols.kermit.misc
Path: news.columbia.edu!sol.ctr.columbia.edu!newsxfer.itd.umich.edu!zip.eecs.umich.edu!caen!hearst.acc.Virginia.EDU!murdoch!fulton.seas.Virginia.EDU!esh6h
From: esh6h@fulton.seas.Virginia.EDU (Erik Hatcher)
Subject: "OPEN READ file" Problems
Message-Id: <D09Fs9.1n0@murdoch.acc.Virginia.EDU>
Sender: usenet@murdoch.acc.Virginia.EDU
Organization: University of Virginia
Date: Sun, 4 Dec 1994 00:24:09 GMT
Lines: 82
Apparently-To: kermit.misc@watsun.cc.columbia.edu
Frank et al, I apologize that everything
I post to this newsgroup are problems I'm
experiencing with C-Kermit. I truly love
the product and have little complaints!
Now to the problem...
I'm running...
C-Kermit 5A(190), 4 Oct 94, for OpenVMS VAX
And created a text file called param.dat
containing three small lines of text.
Then went into C-Kermit and did this...
C-Kermit>open read sys$login:param.dat
C-Kermit>read \%a
C-Kermit>echo \%a
C-Kermit>read \%a
?Read file not open
C-Kermit>type sys$login:param.dat
username
password
e-mail@address
---------------------------
I checked all the docs I have (THE book, the
beware file for VMS, etc). I didn't find any
exceptions for READ for VMS. The !READ works
fine when I do this...
C-Kermit>open !read type sys$login:param.dat
C-Kermit>read \%a
C-Kermit>echo \%a
username
C-Kermit>read \%a
C-Kermit>echo \%a
password
C-Kermit>read \%a
C-Kermit>echo \%a
e-mail@address
C-Kermit>read \%a
C-Kermit>echo \%a
C-Kermit>read \%a
?Read file not open
-----------------------
So why won't READ work in this case? Is it possible my
file attributes are what it needs to be for it to read
the file correctly? They are...
MV80:[]$ dir /full sys$login:param.dat
Directory SYS$USERS:[HATCHER]
PARAM.DAT;1 File ID: (8847,19,0)
Size: 1/3 Owner: [HATCHER]
Created: 3-DEC-1994 17:49:44.15
Revised: 3-DEC-1994 18:46:26.02 (2)
Expires: <None specified>
Backup: <No backup recorded>
File organization: Sequential
File attributes: Allocation: 3, Extend: 0, Global buffer count: 0, No version limit
Record format: Variable length, maximum 14 bytes
Record attributes: Carriage return carriage control
RMS attributes: None
Journaling enabled: None
File protection: System:RWED, Owner:RWED, Group:RWED, World:RWED
Access Cntrl List: None
Total of 1 file, 1/3 blocks.
Thanks for the help.
Erik
--
Erik Hatcher + "But every now and then we just have
http://fulton.seas.virginia.edu/~esh6h | to howl with the wolves."
| - Werner Heisenberg
---------------------------------------+-------------------------------------